package com.hq.serviceimp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hq.dao.UserDao;
import com.hq.entity.User;
import com.hq.service.UserService;
@Service("userService")
public class UserServiceImp implements UserService{
    @Autowired
    UserDao useDao;
	
	public List<User> getList() {
		User user = new User();
		List<User> users = useDao.getUserList(user);
		return users;
	}

}
